//
//  UITextField+HWCategory.h
//  OCDome
//
//  Created by 李含文 on 2020/8/17.
//  Copyright © 2020 李含文. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface UITextField (HWCategory)

/// 监听内容改变
/// @param action 内容改变回调
- (void)hw_editingChanged:(void(^)(NSString *content))action;

/// 监听编辑完成
/// @param action 内容改变回调
- (void)hw_editingDidEnd:(void(^)(NSString *content))action;
@end

NS_ASSUME_NONNULL_END
